<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GstGLDisplayEGL: GStreamer Base Plugins 1.0 Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual">
<link rel="up" href="gl.html" title="OpenGL Integration Library">
<link rel="prev" href="gst-plugins-base-libs-GstGLDisplayCocoa.html" title="GstGLDisplayCocoa">
<link rel="next" href="GstGLDisplayWayland.html" title="GstGLDisplayWayland">
<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#gst-plugins-base-libs-GstGLDisplayEGL.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="gl.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="gst-plugins-base-libs-GstGLDisplayCocoa.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GstGLDisplayWayland.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="gst-plugins-base-libs-GstGLDisplayEGL"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gst-plugins-base-libs-GstGLDisplayEGL.top_of_page"></a>GstGLDisplayEGL</span></h2>
<p>GstGLDisplayEGL</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstGLDisplayEGL.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">GstGLDisplayEGL</span> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstGLDisplayEGL.html#gst-gl-display-egl-new" title="gst_gl_display_egl_new ()">gst_gl_display_egl_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GstGLDisplayEGL</span> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstGLDisplayEGL.html#gst-gl-display-egl-new-with-egl-display" title="gst_gl_display_egl_new_with_egl_display ()">gst_gl_display_egl_new_with_egl_display</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GstGLDisplayEGL</span> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstGLDisplayEGL.html#gst-gl-display-egl-from-gl-display" title="gst_gl_display_egl_from_gl_display ()">gst_gl_display_egl_from_gl_display</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstGLDisplayEGL.html#gst-gl-display-egl-get-from-native" title="gst_gl_display_egl_get_from_native ()">gst_gl_display_egl_get_from_native</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstGLDisplayEGL.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gst/gl/egl/gstgldisplay_egl.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstGLDisplayEGL.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstGLDisplayEGL.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gst-gl-display-egl-new"></a><h3>gst_gl_display_egl_new ()</h3>
<pre class="programlisting"><span class="returnvalue">GstGLDisplayEGL</span> *
gst_gl_display_egl_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Create a new <span class="type">GstGLDisplayEGL</span> using the default EGL_DEFAULT_DISPLAY.</p>
<div class="refsect3">
<a name="gst-gl-display-egl-new.returns"></a><h4>Returns</h4>
<p>a new <span class="type">GstGLDisplayEGL</span> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-gl-display-egl-new-with-egl-display"></a><h3>gst_gl_display_egl_new_with_egl_display ()</h3>
<pre class="programlisting"><span class="returnvalue">GstGLDisplayEGL</span> *
gst_gl_display_egl_new_with_egl_display
                               (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> display</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-gl-display-egl-from-gl-display"></a><h3>gst_gl_display_egl_from_gl_display ()</h3>
<pre class="programlisting"><span class="returnvalue">GstGLDisplayEGL</span> *
gst_gl_display_egl_from_gl_display (<em class="parameter"><code><a class="link" href="GstGLDisplay.html" title="GstGLDisplay"><span class="type">GstGLDisplay</span></a> *display</code></em>);</pre>
<p>Creates a EGL display connection from a native Display.</p>
<p>This function will return the same value for multiple calls with the same
<em class="parameter"><code>display</code></em>
.</p>
<div class="refsect3">
<a name="gst-gl-display-egl-from-gl-display.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>display</p></td>
<td class="parameter_description"><p>an existing <a class="link" href="GstGLDisplay.html" title="GstGLDisplay"><span class="type">GstGLDisplay</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-gl-display-egl-from-gl-display.returns"></a><h4>Returns</h4>
<p>a new <span class="type">GstGLDisplayEGL</span>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-gl-display-egl-get-from-native"></a><h3>gst_gl_display_egl_get_from_native ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
gst_gl_display_egl_get_from_native (<em class="parameter"><code><a class="link" href="GstGLDisplay.html#GstGLDisplayType" title="enum GstGLDisplayType"><span class="type">GstGLDisplayType</span></a> type</code></em>,
                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guintptr"><span class="type">guintptr</span></a> display</code></em>);</pre>
<p>Attempts to create a new <span class="type">EGLDisplay</span> from <em class="parameter"><code>display</code></em>
.  If <em class="parameter"><code>type</code></em>
 is
<a class="link" href="GstGLDisplay.html#GST-GL-DISPLAY-TYPE-ANY:CAPS"><code class="literal">GST_GL_DISPLAY_TYPE_ANY</code></a>, then <em class="parameter"><code>display</code></em>
 must be 0. <em class="parameter"><code>type</code></em>
 must not be
<a class="link" href="GstGLDisplay.html#GST-GL-DISPLAY-TYPE-NONE:CAPS"><code class="literal">GST_GL_DISPLAY_TYPE_NONE</code></a>.</p>
<div class="refsect3">
<a name="gst-gl-display-egl-get-from-native.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstGLDisplay.html#GstGLDisplayType" title="enum GstGLDisplayType"><span class="type">GstGLDisplayType</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>display</p></td>
<td class="parameter_description"><p>pointer to a display (or 0)</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-gl-display-egl-get-from-native.returns"></a><h4>Returns</h4>
<p> A <span class="type">EGLDisplay</span> or <code class="literal">EGL_NO_DISPLAY</code></p>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
</div>
</div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstGLDisplayEGL.other_details"></a><h2>Types and Values</h2>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>